home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat España 20
/
macformat_20.iso
/
mac
/
Shareware
/
Comunicaciones
/
PPP_PrefSaver 1.2
/
C Source
/
PPP_PrefSaver History.c
< prev
next >
Wrap
Text File
|
1996-06-29
|
3KB
|
52 lines
/* PPP_PrefSaver History */
/*
1.0 Initial Release - Never really made public, except among a few individuals.
----------------------------------------------
Correction in 1.0.1:
The dialog item numbers for the account name and password
were corrected to the appropriate item numbers. The numbers changed in the process
of editing the dialog and I didn't spot it.
Changes in 1.0.1:
The resources for the dialogs and alerts were changed to fit specifications
given in the InstallerMaker 3.0 users guide.
----------------------------------------------
Added in 1.1:
Option to save account name/password into the Authentication settings
instead of in a connect script. Also added #define NAME_COMMAND and PWORD_COMMAND
k-onstants to select fields of connect script to write to.
Corrections in 1.1:
SimpleModalFilter was fixed to correctly prevent users
from entering illegal characters.
Added check to make sure OK button is actually enabled before making a carriage
return into a hit on the OK button in SimpleModalFilter().
----------------------------------------------
New in 1.2:
A custom resource with a corresponding template, called an 'ISPc' was added
to allow the program to be configured by anyone using ResEdit, instead of having to
make changes in the code and recompile.
The 'ISPc' resource ID#3000 in the resource file included with this project
is a struct with fields that let you determine the following:
short thisIsADemo; // True = Do not actually save any info in PPP Preferences
short useConnectScript; // True = Save name/password in connect script fields
// False = Save in Authentication fields
short accountNameField; // If using script, which field (0-7) for account name?
short passwordField; // If using script, which field (0-7) for password?
short acctName_AllowCaps; // True = allow uppercase chars in name field
short acctNameLen; // How many chars are allowed in name field?
short pWord_AllowCaps; // True = allow uppercase chars in password field
short passwordLen; // How many chars are allowed in password?
Code was added to support the additional functionality needed to support this.
Corrections and Changes in 1.2:
Command key edit commands could be used previously due to handling through
ModalDialog. Now those edit commands, like CMD-V to Paste, are disabled.
Resulting field lengths are now correctly calculated and handled when characters are
highlighted and a key is pressed.
*/